//
//  SEGTalkSquareViewModel.h
//  Commom
//
//  Created by 梁学彰 on 2020/6/8.
//

#import <Foundation/Foundation.h>
#import "SEGNewTopicManager.h"

#import "ReactiveObjC.h"
NS_ASSUME_NONNULL_BEGIN

@interface SEGTalkSquareViewModel : NSObject
@property (nonatomic, strong)SEGNewTopicManager *topicDeteailManager;

/*
 上次请求的最后数据条数
 */
@property (nonatomic, assign) NSInteger lastSectionIndex;
/**
 是否是第一次 ,预加载
 */
@property (nonatomic, assign) BOOL isFirst;

@property (nonatomic, assign) NSInteger page;

- (RACSignal *)segRequestByHandData;
- (RACSignal *)segRequestData;
@end

NS_ASSUME_NONNULL_END
